package com.aiit.carinsurance2.service.impl;

import com.aiit.carinsurance2.dao.InsuranceDao;
import com.aiit.carinsurance2.pojo.Carinsurance;
import com.aiit.carinsurance2.service.InsuranceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InseruranceServiceImpl implements InsuranceService {
    @Autowired
    private InsuranceDao insuranceDao;


    @Override
    public List<Carinsurance> queryall() {
        return insuranceDao.queryall();
    }
}
